cmake_minimum_required(VERSION 3.8)
project(cv_experiment)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -g -std=c++11")

find_package(OpenCV REQUIRED)
include_directories( ${OPENCV_INCLUDE_DIRS} )
message(status "cv libs: ${OpenCV_LIBS}")

add_executable(sfmsave sfmsave.cpp )
target_link_libraries(sfmsave ${OpenCV_LIBS})

add_executable(panorama panorama/panorama.cpp)
target_link_libraries(panorama ${OpenCV_LIBS})

add_executable(mat_exper mat_exper.cpp)
target_link_libraries(mat_exper ${OpenCV_LIBS})

add_executable(ipp_ex ipp_ex.cpp)
target_link_libraries(ipp_ex ${OpenCV_LIBS})

add_executable(cv_matrix_cal cv_matrix_cal.cpp)
target_link_libraries(cv_matrix_cal ${OpenCV_LIBS})

